/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techshop.dao;

import com.techshop.model.Store;
import java.util.List;

/**
 *
 * @author Hai-PC
 */
public interface StoreDao
{    
    public Store getById(int storeId);
    public List<Store> getAll();
    public List<Store> getByProvinceAndDistrict(int provinceId, int districtId);
    public List<Store> getByProvince(int provinceId);
    public List<Store> getByProvinceAndDistrictAndStore(int provinceId, int districtId, int storeId);
    public boolean insert(Store store);
    public boolean update(Store store);
    public boolean delete(Store store);
}